package io.renren.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 商户回调记录
 *
 * @author ms
 * @since 1.0.0 2020-06-13
 */
@Data
@ApiModel(value = "商户回调记录")
public class MerchantCallLogDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "商户ID")
    private Integer merId;

    @ApiModelProperty(value = "订单ID")
    private String tdNo;

    /**
     * 第三方订单ID
     */
    private String tdNoThird;

    @ApiModelProperty(value = "回调时间")
    private Date callTime;

    @ApiModelProperty(value = "是否成功(0否1是)")
    private String callSuccess;

    @ApiModelProperty(value = "发送数据")
    private String sendBody;

    @ApiModelProperty(value = "商户返回内容")
    private String returnBody;

    @ApiModelProperty(value = "耗时")
    private Integer useTime;

    @ApiModelProperty(value = "下次回调时间")
    private Date nextCallTime;

    @ApiModelProperty(value = "回调次数")
    private Integer callIndex;
}